package org.jeecg.modules.wlhy.customer.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.system.entity.SysUser;
import org.jeecg.modules.wlhy.customer.entity.HyCustomerUser;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.wlhy.customer.vo.SysUserCustomerUser;

import java.util.List;

/**
 * @Description: 货主子账号
 * @Author: duanlikao
 * @Date:   2020-12-19
 * @Version: V1.0
 */
public interface IHyCustomerUserService extends IService<HyCustomerUser> {

    HyCustomerUser getInfoByUserId(String userId);

    List<HyCustomerUser> getInfoByUserIds(String userIds);

    List<HyCustomerUser> getByCustomer(String customerId);

    IPage<SysUserCustomerUser> getUserListByCustomerId(Page<SysUserCustomerUser> userPage, String customerId);

    void revertLogicDeleted(List<String> hyCustomerUserIds);

    void removeLogicDeleted(List<String> hyCustomerUserIds);

    List<HyCustomerUser> getDeleteByUserIds(String userIds);
}
